package com.zxs.domain.service;

import com.zxs.common.entity.Result;
import com.zxs.domain.entity.bo.SubjectCategoryBO;
import com.zxs.domain.entity.dto.SubjectCategoryDTO;

import java.util.List;

/**
 * @author zxs
 * @date 2025/11/4 下午9:14
 */
public interface SubjectCategoryDomainService {


    /**
     * 新增分类
     * @param subjectCategoryBO
     * @return
     */
    Result addSubjectCategory(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询分类
     * @return
     */
    List<SubjectCategoryDTO> queryPrimaryCategory(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询二级分类
     * @param subjectCategoryBO
     * @return
     */
    List<SubjectCategoryDTO> querySeconedCategory(SubjectCategoryBO subjectCategoryBO);

    Boolean updateCategory(SubjectCategoryBO subjectCategoryBO);

    Boolean deleteCategory(SubjectCategoryBO subjectCategoryBO);
}